package com.wanmait.recycle.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.wanmait.recycle.mapper.ProvinceMapper;
import com.wanmait.recycle.pojo.Province;
import com.wanmait.recycle.util.Pager;

@Service
@Transactional
public class ProvinceServiceImpl implements com.wanmait.recycle.service.ProvinceService {

	@Resource
	private ProvinceMapper provinceMapper;
	
	
	@Override
	public void insert(Province object) {
		// TODO Auto-generated method stub

	}

	@Override
	public void update(Province object) {
		// TODO Auto-generated method stub

	}

	@Override
	public void delete(Integer id) {
		// TODO Auto-generated method stub

	}

	@Override
	public void delete(String ids) {
		// TODO Auto-generated method stub

	}

	@Override
	public Province findById(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	@Cacheable(value="recycle",key="'provinces'")
	public List<Province> findAll() {
		// TODO Auto-generated method stub
		return provinceMapper.findAll();
	}

	@Override
	public int getDataCount() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<Province> findAll(Pager pager) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Province> findAll(Province object) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int getDataCount(Province object) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<Province> findAll(Pager pager, Province object) {
		// TODO Auto-generated method stub
		return null;
	}

}
